//
//  UILabel+Extension.swift
//  CMDB
//
//  Created by 王磊 on 05/05/2017.
//  Copyright © 2017 CMDB. All rights reserved.
//

import UIKit


extension UILabel {
    
    convenience init(strColor : UIColor,string : String,strFont : UIFont) {
        
        self.init()
        
        text = string
        
        textColor = strColor
        
        font = strFont
        
        sizeToFit()
        
    }
    
}